<?php include('header.php'); ?>
<div id="test">
</div>
        <div id="content" class="col">
            <div id="contentleft" class="col">
                <div id="form1">
                    <form name="dateForm" id="dateForm" method="post" action="">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">                       
<tr>
<td height="8" align="left" valign="middle"></td>
<td></td>
</tr>
                        <tr>
                            <td width="20%" align="left" valign="middle" class="formtxt">
                                From :
                            </td>
                            <td align="left" valign="middle">
                                <input type="text" id="datepicker_form" class="validate[required] forminput" value="<?php if(isset($_REQUEST['fromdate'])) {echo $_REQUEST['fromdate']; } ?>" />
                            </td>
                        </tr>
                        <tr>
                            <td height="8" align="left" valign="middle">
                            </td>
                            <td>
                            </td>
                        </tr>
                        <tr>
                            <td align="left" valign="middle" class="formtxt">
                                To :
                            </td>
                            <td>
                                <input type="text" id="datepicker_to" class="validate[required] forminput" value="<?php if(isset($_REQUEST['todate'])) {echo $_REQUEST['todate']; } ?>" /><input type="hidden" name="hetelId" id="hetelId" value="<?php echo $bsiCore->getHotelIDByName($_REQUEST['hotelname']);?>" />
                            </td>
                        </tr>
                    </table>
                    </form>
                </div>
                <h1><img src="images/offericon.jpg" alt="" width="23" height="17" title="" align="absmiddle" />Offers</h1>
                <div id="offerbox">
                    <div class="offertitle">
                        <span class="formtxt" style="vertical-align: middle;">Select Offers :</span>                        
                        <select name="offers" class="dropbox" id="roomoffers">
                            <?php if(isset($_REQUEST['room_type'])) { echo $bsiCore->roomOffers($_REQUEST['room_type']); } else { echo $bsiCore->roomOffers('1_1'); } ?>
                        </select>                        
                    </div>
                </div>
                <div id="mainscroller">
                    <div id="cmd_desk">
                        <div class="content">
                            <!--slider str-->
                            <div class="owl-demo owl-carousel slider1">
                                <div class="item"><img src="images/slide-1.jpg" alt=""></div>
                                <div class="item"><img src="images/slide-2.jpg" alt=""></div>
                                <div class="item"><img src="images/slide-3.jpg" alt=""></div>
                                <div class="item"><img src="images/slide-4.jpg" alt=""></div>
                            </div>
                            <!--<div id="container">
                                <div class="example">
                                    <div class="slides">
                                        <div class="slides_container">
                                          <div class="slide">
                                <img src="images/slide-1.jpg" width="262" height="124" alt="Slide 1">
                            </div>
                            <div class="slide">
                                <img src="images/slide-2.jpg" width="262" height="124" alt="Slide 2">
                            </div>
                            <div class="slide">
                                <img src="images/slide-3.jpg" width="262" height="124" alt="Slide 3">
                            </div>
                                        </div>
                                        <a href="#" class="prev">
                                            <img src="images/arrow-prev.png" width="24" height="43" alt="Arrow Prev"></a>
                                        <a href="#" class="next">
                                            <img src="images/arrow-next.png" width="24" height="43" alt="Arrow Next"></a>
                                    </div>
                                </div>-->
                                <h1>
                                    <img src="images/facilityicon.jpg" alt="" width="23" height="18" title="" align="absmiddle" />Offer
                                    Facilities</h1>
                                <div class="facilitytitle">
                                    <div class="facilitycontent" id="roomofferdesc">
                                        <?php  if(isset($_REQUEST['room_type'])) {echo $bsiCore->roomOffersDesc($_REQUEST['room_type'],'1'); } else { echo $bsiCore->roomOffersDesc('1_1','1'); }  ?>
                                         
                                    </div>
                                </div>
                            </div>
                            
                        </div>
                    </div>
                </div>
            
            <div id="contentright" class="right">
                <div class="rightform col">
                    <table width="430" border="0" cellspacing="0" cellpadding="0" class="contable">
                        <tr>
                            <td width="78" align="left" valign="middle">
                                Room Type : 
                            </td>
                            <td width="120" align="left" valign="middle">                                                        
                                <select name="room_type" id="room_type" class="dropbox1">                                	
                                    <?php if(isset($_REQUEST['room_type'])) {echo 'assss'.$bsiCore->roomtype($_REQUEST['room_type']); } else { echo $bsiCore->roomtype('1_1'); } ?>
                                </select>
                            </td>
                            <td width="17" align="left" valign="middle">
                                <!--or <a href="#" class="roomtype">Change Room Type &gt;&gt;</a>-->
                            </td>

                        </tr>
                    </table>
            </div>
            	<!--------- Room Type Slider Starts------------>
                
            	
             	<div class="owl-demo owl-carousel slider2 col" id="gallery_slider">
                    <?php  if(isset($_REQUEST['room_type'])) { echo $bsiCore->roomtype_photos($_REQUEST['room_type']); } else { 
								echo $bsiCore->roomtype_photos('1_1'); } ?> 
                               
                
                </div>
                <!--------- Room Type Slider Ends------------>
                
                <!--------- Room Type Desc Starts------------>
                <div id="roomdescription" class="col">
                    <img src="images/roomicon.png" width="13" height="15" align="absmiddle" />&nbsp;&nbsp;Room
                    Description
                </div>                                  
                <div id="innerroomdesc">                
                    <?php  if(isset($_REQUEST['room_type'])) { echo $bsiCore->roomtypedesc($_REQUEST['room_type'],'part'); } else { echo $bsiCore->roomtypedesc('1_1','part'); } ?>
                 </div> 
                 <!--------- Room Type Desc Ends------------>  
                <div class="arrowlistmenu col">
                    <div class="menuheader expandable" id="menuheader1">
                   <img src="images/facilityicon.png" width="18" height="16" align="absmiddle" />&nbsp;&nbsp;Facilities Details</div>
                    <div class="categoryitems">
                        <div id="loadfacilities" style="overflow-y:auto; overflow-x:hidden; height:85px; width:200px;" >
                         	<?php if(isset($_REQUEST['room_type'])) {echo $bsiCore->roomFacilities($_REQUEST['room_type']); } else { echo $bsiCore->roomFacilities('1_1'); } ?>
                         </div>
                    </div>
                </div>
                
                <div class="arrowlistmenu col" style="margin-left:20px;">
                    <div class="menuheader expandable" id="menuheader2">
                   <img src="images/chooseicon.png" width="16" height="17" align="absmiddle" />&nbsp;&nbsp;Choose Extras</div>
                    <div class="categoryitems">
                        <div id="loadextrafeatures" class="loadextrafeatures" style="overflow-y:auto; overflow-x:hidden; height:85px; width:200px;">
                        	<ul>
                         	<?php if(isset($_REQUEST['room_type'])) {echo $bsiCore->roomExtraFeatures($_REQUEST['room_type']); } else { echo $bsiCore->roomExtraFeatures('1_1'); } ?> 
                            </ul>
                         </div>
                    </div>
                </div>
                
                <div id="inrbox" class="col">
                	<div class="col">
					<select name="currency" class="inrdropbox" id="getCurrency">
                    	<?php echo $bsiCore->getCurrency(); ?>                       
                    </select>
</div>
<a href="javascript:void(0);" class="right" id="book_now"><img src="images/booknow.jpg" alt="Book Now" title="Book Now" style="margin-bottom:20px;" /></a>
<div class="totalcost col">
	<ul>
    	<li><span class="text">Total Cost :</span> <span id="totalcost"><?php if(isset($_REQUEST['room_type'])) {echo $bsiCore->getTotalPrice($_REQUEST['room_type'],'0',''); } else { echo $bsiCore->getTotalPrice('1_1','0','0'); }  ?></span><input type="hidden" name="total_price_text" id="total_price_text" value="<?php if(isset($_REQUEST['room_type'])) {echo $bsiCore->getTotalPrice($_REQUEST['room_type'],'',''); } else { echo $bsiCore->getTotalPrice('1_1','','0'); } ?>" /></li>
        <li><span class="text1">You Saved :</span> <span id="savedcost"><?php if(isset($_REQUEST['room_type'])) {echo $bsiCore->getOfferPrice($_REQUEST['room_type'],''); } else { echo $bsiCore->getOfferPrice('1_1',''); }  ?></span><input type="hidden" name="total_saved_text" id="total_saved_text" value="<?php if(isset($_REQUEST['room_type'])) {echo $bsiCore->getOfferPrice($_REQUEST['room_type'],''); } else { echo $bsiCore->getOfferPrice('1_1',''); }  ?>" /></li>
    </ul>	</div>
<a href="javascript:void(0);" class="right" id="save_booking"><img src="images/saveadd_newbooking.jpg" alt="Save & Add New Booking" title="Save & Add New Booking" /></a>		
</div>
<img src="images/cancellationicon.png" alt="" title="" align="absmiddle" width="23" height="17" class="col" /><a href="javascript:cancelbooking();" class="cancellation col">Cancellation & Refund</a> 
            </div></div>
        </div>
    </div>


</body>
</html>
